import { request } from '../utils/request'

export async function getGoodsList(page = 1) {
  return request({
    url: '/goods',
    method: 'get',
    params: {
      page
    }
  })
}